<?php

return [
	
	'system' => ['errCode' => 1100, 'message' => '系统异常'],

	'user' => [
		'sessionOpenId' => ['errCode' => 1000, 'message' => '请从公众号打开该页面'],
		
		'notFound' => ['errCode' => 1001, 'message' => '该用户未找到'],

		'update' => ['errCode' => 1002, 'message' => '更新用户绑定设备失败'],

		'addWxUser' => ['errCode' => 1003, 'message' => '增加微信用户记录出错'],

		'addUserInfo' => ['errCode' => 1004, 'message' => '增加用户记录出错'],

		'system' => ['errCode' => 0001, 'message' => '用户系统异常'],
		
		'login' => ['errCode' => 1005, 'message' => '登录失败,用户名或者密码错误'],

		'admin' => ['errCode' => 1006, 'message' => '管理权限不足'],

		'add' => ['errCode' => 1007, 'message' => '添加管理员出错'],
		
		'password' => ['errCode' => 1008, 'message' => '密码错误'],
		
		'logout' => ['errCode' => 1009, 'message' => '用户已登出，请先登录'],

		'addAdminInfo' => ['errCode' => 1010, 'message' => '增加管理员信息出错'],

		'updateAdminInfo' => ['errCode' => 1011, 'message' => '更新管理员信息出错'],

		'loginThroot' => ['errCode' => 1012, 'message' => '登录失败次数太多，请稍后再尝试登录'],

		],

	'device' => [
		'bind' => ['errCode' => 2000, 'message' => '绑定出错'],

		'notConnect' => ['errCode' => 2001, 'message' => '设备处于离线状态'],

		'command' => ['errCode' => 2002, 'message' => '控制指令有误'],
		
		'noDevice' => ['errCode' => 2003, 'message' => '未绑定设备'],
		
		'noBind' => ['errCode' => 2004, 'message' => '请先匹配或绑定设备'],
		
		'unbind' => ['errCode' => 2005, 'message' => '解绑设备失败'],
		
		'powerOff' => ['errCode' => 2006, 'message' => '设备已关机'],
	],

	'wechat' => [
		'invalid' => ['errCode' => 3000, 'message' => '微信错误信息'],
		],

	'invalidParameter' => ['errCode' => 101, 'message' => '参数格式错误'],
];